package com.ambulance.project.manager.mapper;

import com.ambulance.project.manager.domain.BizDispatchcase;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 调度病例详细信息Mapper接口
 *
 * @author zr
 * @date 2020-05-11
 */
@Repository
public interface BizDispatchcaseMapper
{
    /**
     * 查询调度病例详细信息
     *
     * @param dispatchCaseID 调度病例详细信息ID
     * @return 调度病例详细信息
     */
    public BizDispatchcase selectBizDispatchcaseById(Long dispatchCaseID);

    /**
     * 查询调度病例详细信息列表
     *
     * @param bizDispatchcase 调度病例详细信息
     * @return 调度病例详细信息集合
     */
    public List<BizDispatchcase> selectBizDispatchcaseList(BizDispatchcase bizDispatchcase);

    /**
     * 新增调度病例详细信息
     *
     * @param bizDispatchcase 调度病例详细信息
     * @return 结果
     */
    public int insertBizDispatchcase(BizDispatchcase bizDispatchcase);

    /**
     * 修改调度病例详细信息
     *
     * @param bizDispatchcase 调度病例详细信息
     * @return 结果
     */
    public int updateBizDispatchcase(BizDispatchcase bizDispatchcase);

    /**
     * 删除调度病例详细信息
     *
     * @param dispatchCaseID 调度病例详细信息ID
     * @return 结果
     */
    public int deleteBizDispatchcaseById(Long dispatchCaseID);

    /**
     * 批量删除调度病例详细信息
     *
     * @param dispatchCaseIDs 需要删除的数据ID
     * @return 结果
     */
    public int deleteBizDispatchcaseByIds(Long[] dispatchCaseIDs);
}
